package com.xingkeduo.pojo.table;

import com.xingkeduo.util.pojo.base.BaseTable;
import com.xingkeduo.util.pojo.enums.SexEnum;
import com.xingkeduo.util.pojo.enums.YesNoEnum;
import org.apache.ibatis.type.Alias;

import java.util.Date;

/**
 * 微信关注表
 *
 * @author gaozifeng
 * @time 2019年2月18日17:45:29
 * @description
 */
@Alias("ConsumerAttention")  //别名 和.xml里面一样  mybatis.xml里面 新增表 需要新建对应
public class ConsumerAttentionTO extends BaseTable<ConsumerAttentionTO> {

    private String unionid;

    private String openid;

    private String name;

    private String headImg;

    private String city;

    private String country;

    private String province;

    private SexEnum sex;

    private YesNoEnum type;

    private String groupId;

    private String tagIds;

    private Date subscribeTime;

    private String sceneId;

    private String language;

    public YesNoEnum getType() {
        return type;
    }

    public ConsumerAttentionTO setType(YesNoEnum type) {
        this.type = type;
        return this;
    }

    public String getUnionid() {
        return unionid;
    }

    public ConsumerAttentionTO setUnionid(String unionid) {
        this.unionid = unionid;
        return this;
    }

    public String getOpenid() {
        return openid;
    }

    public ConsumerAttentionTO setOpenid(String openid) {
        this.openid = openid;
        return this;
    }

    public String getName() {
        return name;
    }

    public ConsumerAttentionTO setName(String name) {
        this.name = name;
        return this;
    }

    public String getHeadImg() {
        return headImg;
    }

    public ConsumerAttentionTO setHeadImg(String headImg) {
        this.headImg = headImg;
        return this;
    }

    public String getCity() {
        return city;
    }

    public ConsumerAttentionTO setCity(String city) {
        this.city = city;
        return this;
    }

    public String getCountry() {
        return country;
    }

    public ConsumerAttentionTO setCountry(String country) {
        this.country = country;
        return this;
    }

    public String getProvince() {
        return province;
    }

    public ConsumerAttentionTO setProvince(String province) {
        this.province = province;
        return this;
    }

    public SexEnum getSex() {
        return sex;
    }

    public ConsumerAttentionTO setSex(SexEnum sex) {
        this.sex = sex;
        return this;
    }

    public String getGroupId() {
        return groupId;
    }

    public ConsumerAttentionTO setGroupId(String groupId) {
        this.groupId = groupId;
        return this;
    }

    public Date getSubscribeTime() {
        return subscribeTime;
    }

    public ConsumerAttentionTO setSubscribeTime(Date subscribeTime) {
        this.subscribeTime = subscribeTime;
        return this;
    }

    public String getTagIds() {
        return tagIds;
    }

    public ConsumerAttentionTO setTagIds(String tagIds) {
        this.tagIds = tagIds;
        return this;
    }

    public String getSceneId() {
        return sceneId;
    }

    public ConsumerAttentionTO setSceneId(String sceneId) {
        this.sceneId = sceneId;
        return this;
    }

    public String getLanguage() {
        return language;
    }

    public ConsumerAttentionTO setLanguage(String language) {
        this.language = language;
        return this;
    }


    @Override
    public String toString() {
        return "ConsumerAttentionTO{" +
                "unionid='" + unionid + '\'' +
                ", openid='" + openid + '\'' +
                ", name='" + name + '\'' +
                ", headImg='" + headImg + '\'' +
                ", city='" + city + '\'' +
                ", country='" + country + '\'' +
                ", province='" + province + '\'' +
                ", sex=" + sex +
                ", groupId='" + groupId + '\'' +
                ", subscribeTime=" + subscribeTime +
                ", tagIds='" + tagIds + '\'' +
                ", sceneId='" + sceneId + '\'' +
                ", language='" + language + '\'' +
                '}';
    }
}
